import { isDevMode } from '@/utils/env'

// 缓存默认过期时间(7天)
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7


// 是否加密缓存，默认生产环境加密
export const SHOULD_ENABLE_STORAGE_ENCRYPTION = !isDevMode()

export const cacheCipher = {
  key: '_11111000001111@',
  iv: '@11111000001111_',
}
